package net.learn.system.convert;

import net.learn.system.entity.SysCheckBoxEntity;
import net.learn.system.entity.SysJudgeEntity;
import net.learn.system.vo.SysCheckBoxVO;
import net.learn.system.vo.SysJudgeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysJudgeConvert {
    SysJudgeConvert INSTANCE = Mappers.getMapper(SysJudgeConvert.class);

    SysJudgeVO convert(SysJudgeEntity entity);

    SysJudgeEntity convert(SysJudgeVO vo);

    List<SysJudgeVO> convertList(List<SysJudgeEntity> list);

}
